using System;

using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;

namespace Server
{
	
	class Class1
	{
		[STAThread]
		static void Main(string[] args)
		{
			HttpChannel channel = new HttpChannel(8080);
			ChannelServices.RegisterChannel(channel);
			RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType("Server.Server"),"Server",WellKnownObjectMode.Singleton);
			Console.ReadLine();
		}
	}
}